package com.jfs.security.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description 会话线程池配置
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/8
 */
@Data
@ConfigurationProperties(prefix = "jfs.session.executor")
public class SessionExecutorProperties {
    private final static String THREAD_NAME_PREFIX="sessionExecutor-";
    /**
     * 线程池维核心线程数量
     */
    private int corePoolSize;
    /**
     * 线程池线程名称前缀
     */
    private String threadNamePrefix = THREAD_NAME_PREFIX;

}
